.carousel {
    position: relative;
    display: flex;
    overflow: hidden;
    margin: auto;
}

.carousel-inner {
    position: absolute;
    left: 0;
    top:0;
    display: flex;
    z-index: 1;
    will-change: transform;
}


.carousel-item > img {
    display: block;
}

.carousel-control-prev {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 30%;
    width: 4%;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.3);
    font-weight: bold;
    left: 2%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    z-index: 2;
}

.carousel-control-next {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 30%;
    width: 4%;
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 30px;
    font-weight: bold;
    right: 2%;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    z-index: 2;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
    color: #ffffff;
    cursor: pointer;
}

.carousel-control-prev > i, .carousel-control-next > i {
    font-size: 50px;
}


.carousel-indicators {
    position: absolute;
    display: flex;
    top: 90%;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 2;
}


.carousel-indicators > li {
    height: 5px;
    width: 40px;
    background-color: #ffffff;
    opacity: .5;
    margin: 0 8px;
}

.carousel-indicators > li:hover {
    cursor: pointer;
    opacity: 1;
}

.carousel-indicators .active {
    opacity: 1;
}